package com.senven.order.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.senven.common.entity.Order;
import com.senven.common.vo.CommonResult;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wt
 * @since 2022-08-31
 */
public interface IOrderService extends IService<Order> {

    CommonResult findOrderByUserid(String userid);

    CommonResult findOrderByOrderId(String orderid);

    CommonResult backFindAllOrder(Integer currentPage, Integer pageSize, Map map);

    CommonResult orderFindOrderByOrderId(Integer currentPage, Integer pageSize, Map map);

    String insertOrder(Order order);

    //微信支付
    CommonResult createNavite(String orders);

    CommonResult queryPayStutus(String orders);


    CommonResult updateOrderStatus(Order order);
}
